package com.lannuokeji.biz.sys.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 用户意见反馈
 * </p>
 *
 * @author lannuoTeck
 * @since 2018-03-19
 */
@TableName("g_sys_advice")
public class Advice extends Model<Advice> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    @TableField("userId")
    private String userId;
    /**
     * 反馈内容
     */
    private String content;
    /**
     * 状态: 0 未回复，1 已回复
     */
    private Integer status;
    /**
     * 回复内容
     */
    private String note;
    @TableField("createTime")
    private Date createTime;
    @TableField("updateTime")
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Advice{" +
        ", id=" + id +
        ", userId=" + userId +
        ", content=" + content +
        ", status=" + status +
        ", note=" + note +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
